package com.example.springapp.service;


import com.example.springapp.mapper.ShopMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class ShopService {
    @Autowired
    private ShopMapper shopMapper;

    public List<String> getShopCata(){
        return shopMapper.getShopCata();
//        return "";
    }
}
